package com.nzf.vote.service;

import com.nzf.vote.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nzf.vote.model.vo.Results;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author nzf
 * @since 2022-07-25
 */
public interface IUserService extends IService<User> {
    User login(String username,String password);
    Results insertUser(User user);
    int deleteUser(Integer id);
}
